package com.jixiang.tracedata.model.traveller;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

import java.io.Serializable;

/**
 * @author quanbiao
 * @date 2018-08-31
 * 特殊服务信息
 */
@XStreamAlias("SpecialServiceRequest")
public class SpecialServiceRequest implements Serializable {

    private static final long serialVersionUID = -8241821588094436834L;

    /**
     * SSR编码
     */
    @XStreamAsAttribute()
    private String SSRCode;

    /**
     * SSR对应的ActionCode
     */
    @XStreamAsAttribute()
    private String ActionCode;

    /**
     * 航空公司二字代码
     */
    @XStreamAsAttribute()
    private String AirlineCode;

    /**
     * 自由文本
     */
    @XStreamAsAttribute()
    private String Text;

    public String getSSRCode() {
        return SSRCode;
    }

    public void setSSRCode(String SSRCode) {
        this.SSRCode = SSRCode;
    }

    public String getActionCode() {
        return ActionCode;
    }

    public void setActionCode(String actionCode) {
        ActionCode = actionCode;
    }

    public String getAirlineCode() {
        return AirlineCode;
    }

    public void setAirlineCode(String airlineCode) {
        AirlineCode = airlineCode;
    }

    public String getText() {
        return Text;
    }

    public void setText(String text) {
        Text = text;
    }


    @Override
    public String toString() {
        return "{" +
                "SSRCode:" + SSRCode +
                ", ActionCode:" + ActionCode +
                ", AirlineCode:" + AirlineCode +
                ", Text:" + Text +
                '}';
    }
}
